const { Base } = require('./base.js')

class CityModel extends Base {
  constructor() {
    super()
  }
  getCities(data) {
    return this.promiseRequest('/wechat/city/query/list', data)
  };
  getCityName(data) {
    return this.promiseRequest('/wechat/shop/query/list/by/city/name', data)
  }
}

module.exports = {
  CityModel
}
